<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/pages/common/common.jsp" %>

<!-- 首页左侧导航树插件相关文件 -->
<link rel="stylesheet" type="text/css" href="<%=path%>/js/js_plug/tree1/css/tree/tree.css">
<script src="<%=path%>/js/jquery/jquery.js" type="text/javascript"></script>
<script src="<%=path%>/js/js_plug/tree1/tree.js" type="text/javascript"></script>
<script src="<%=path%>/js/js_plug/tree1/common.js" type="text/javascript"></script>
<script src="<%=path%>/js/js_plug/tree1/treedata.js" type="text/javascript"></script>
<!-- end -->

<%-- <script src="<%=path%>/js/js_plug/jbar/jbar.js"></script> --%>
<!-- http://localhost:8080/PrivilegeManager_test1?redirectPage=jquery-easyui/index-demo.html -->
<script type="text/javascript">
	   /**
		* 加载左侧导航树
		*/
       $(document).ready(function() {
           var treeview = { showcheck: false,
            onnodeclick:function(item){ mod(item);},
            url: "<%=path%>/PrivilegeManager_getPriOfUser?id=1",
				theme : "bbit-tree-lines",
				cpath : "<%=path%>/js/js_plug/tree1/css/tree",
				cascadecheck : false
			};
			$("#nav_tree").treeview(treeview);
		});

		function mod(node) {
			if (!node.hasChildren) {
				document.getElementById("main").src = node.path;
			}
		}
</script>

<!-- <script> -->
<!-- 	$(function () { -->
<!-- 	    $.jBar({ -->
<!-- 	        type: 'fixed', // fixed/static -->
<!-- 	        delay: '1000', // Entrance delay (milliseconds) -->
<!-- 	        backgroundColor: '#DB5903', // Background Color -->
<!-- 	        borderColor: '#FFF', // Background Color -->
<!-- 	        buttonTextColor: '#FFF', // Button Text -->
<!-- 	        buttonColor: '#333', // Button Color -->
<!-- 	        buttonColorHover: '#222', // Button Color Hover -->
<!-- 	        calltoAction: 'jBar Plugin! A simple and lightweight notification banner.', // Call to action text -->
<!-- 	        buttonText: 'Download it!', // Button Text -->
<!-- 	        buttonLink: 'http://www.toddmotto.com/jbar-plugin-the-jquery-call-to-action-bar', // Hyperlink from button -->
<%-- 	        imagesPath: '<%=path%>/js/js_plug/jbar/' --%>
<!-- 	    }); -->
<!-- 	}); -->
<!-- </script> -->
